package com.suyang.syt.model;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "SYS_USER_ROLE")
@SuppressWarnings("serial")
public class UserRole extends BaseEntity {

	/** 用户对象 */
	private long userId;

	/** 角色对象 */
	private long roleId;

	public UserRole() {

	}

	public UserRole(long userId, long roleId) {
		super();
		this.userId = userId;
		this.roleId = roleId;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public long getRoleId() {
		return roleId;
	}

	public void setRoleId(long roleId) {
		this.roleId = roleId;
	}

}
